package com.coolingme.course;

/**
 * 模板模式测试
 *
 * @author wangyue
 * @date 2020-09-21 22:14
 */
public class Test {

    public static void main(String[] args) {
        JavaCourse javaCourse = new JavaCourse();
        javaCourse.setNeedHomework(true);
        javaCourse.createCourse();

        System.out.println("-------------------");

        PythonCourse pythonCourse = new PythonCourse();
        pythonCourse.createCourse();

    }

}
